package com.autumn.zero.authorization.web.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Import;

import com.autumn.zero.authorization.annotation.EnableAutumnBaseZeroAuthorization;
import com.autumn.zero.authorization.web.configure.AutumnBaseZeroWebAuthorizationConfiguration;

/**
 * 启用基本Web授权
 * 
 * @author 老码农 2018-12-09 18:08:24
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@EnableAutumnBaseZeroAuthorization
@Import({ AutumnBaseZeroWebAuthorizationConfiguration.class })
public @interface EnableAutumnBaseZeroWebAuthorization {

	/**
	 * 控制器包路径
	 */
	public static final String CONTROLLER_PACKAGE_PATH = "com.autumn.zero.authorization.web.controllers";

}
